import urllib.request as ur
import user_agent

request = ur.Request(
    url = 'https://edu.csdb.net/',
    headers={
        'User-Agent': user_agent.get_user_agent_pc()
    }
)
 
response = ur.urlopen(request).read()